﻿<Window x:Class="Vaffanculo.Presentation.Component.WizardControl.WizardForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
        Title="ProceedureDialog" Height="480" Width="640" 
        MinWidth="640" MinHeight="480" AllowsTransparency="True" WindowStyle="None" Topmost="True" Background="{x:Null}" Closing="WindowClosing" MouseDown="Window_MouseDown"  >
    <Border x:Name="LayoutRoot" Opacity="1" Margin="0,0,0,0" Background="#FFF" CornerRadius="5,5,5,5" BorderBrush="#CCC" BorderThickness="1,1,1,1">
    
    <Grid >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="195"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="75"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="65"></RowDefinition>
        </Grid.RowDefinitions>
        <Border Name="buttonBorder" Grid.Row="2" Grid.Column="1" BorderThickness="4,2,0,0" >
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,-0.042" StartPoint="0.5,0.2">
                        <GradientStop Color="#AE6D02" Offset="0"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
                    <StackPanel Orientation="Horizontal" FlowDirection="RightToLeft">                               
                <Button Height="23" Name="cancelButton" Width="75" Margin="30,5,5,5" Click="CancelButtonClick">
                    Cancelar
                </Button>
                <Button Height="23" Name="finishButton" Width="75" IsEnabled="False" Margin="5,5,5,5" Click="FinishButtonClick">
                    Procesar
                </Button>
                <Button Height="23" Name="nextButton" Width="75" Margin="5,5,5,5" Click="NextButtonClick">
                    Siguiente
                </Button>
                <Button Height="23" Name="backButton" Width="75" IsEnabled="False" Margin="5,5,5,5" Click="BackButtonClick">
                    Atrás
                </Button>
            </StackPanel>
        </Border>
        <Border Name="contentBorder" Grid.Row="1" Grid.Column="1" BorderThickness="4,2,0,0" >
            <Grid Name="contentGrid">

            </Grid>
        </Border>
        <Grid Name="headerGrid" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">                        
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="90"></ColumnDefinition>
                <ColumnDefinition Width="*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="45"></RowDefinition>
                <RowDefinition Height="*"></RowDefinition>
            </Grid.RowDefinitions>
            <Rectangle Opacity="0.9" Stroke="AliceBlue" RadiusX="5" RadiusY="5" Grid.Column="0" Grid.RowSpan="2" Grid.ColumnSpan="2">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,-0.042" StartPoint="0.5,0.2">
                        <GradientStop Color="#AE6D02" Offset="0"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Image Name="imageIcon" Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" HorizontalAlignment="Left"  Margin="20,5,5,5" Opacity="128" Source="/Vaffanculo.Presentation;component/Images/icono.png" />            
            <Label Foreground="#FFF" Grid.Row="0" Grid.Column="1" FontSize="26" Name="headingLabel" FontWeight="Bold" Margin="25,0,0,0">
                CABEZERA
            </Label>
            <Label Grid.Row="1" Grid.Column="1" Name="summaryLabel" Margin="65,0,0,0" VerticalAlignment="Top">QUE TIPO DE WIZARD ES.</Label>
        </Grid>

        <Border Name="keyBorder" Grid.Row="1" Grid.Column="0" Grid.RowSpan="2"  BorderThickness="0,2,0,0" >
                <Border.Background>
                    <ImageBrush ImageSource="/Vaffanculo.Presentation;component/Images/fondo.png" >
                        
                    </ImageBrush>
                </Border.Background>
                <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"></RowDefinition>
                    <RowDefinition Height="350"></RowDefinition>
                </Grid.RowDefinitions>


                <StackPanel Orientation="Vertical" Width="195" Grid.Row="0" Grid.RowSpan="2">
                    <Expander Name="introductionExpander" Header="Introducción" Margin="5" IsExpanded="True">
                        <Label Height="28" Name="introductionLabel" MouseUp="IntroductionLabelMouseUp" Margin="30,0,0,0" Foreground="Black">
                            Introducción
                        </Label>
                    </Expander>
                    <Expander Header="Configuración" Margin="5" Name="configurationExpander" IsExpanded="False">

                    </Expander>
                    <Expander Header="Confirmación" Margin="5" Name="confirmationExpander">
                        <Label Height="28" Name="confirmationLabel" Margin="30,0,0,0" MouseUp="ConfirmationLabelMouseUp">Confirmación</Label>
                    </Expander>
                    <Expander Header="Progreso" Margin="5" Name="progressExpander">
                        <Label Height="28" Name="progressLabel" Margin="30,0,0,0" MouseUp="ProgressLabelMouseUp">Progress</Label>
                    </Expander>
                    <Expander Header="Resultado" Margin="5" Name="resultsExpander">
                        <Label Height="28" Name="resultsLabel" Margin="30,0,0,0" MouseUp="ResultsLabelMouseUp">Resultados</Label>
                    </Expander>
                </StackPanel>
            </Grid>
        </Border>
    </Grid>
    
    </Border>
</Window>
